/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/*
 * PanelForm.java
 *
 * Created on Mar 22, 2010, 4:15:49 PM
 */

package Library.GUI;

/**
 *
 * @author ssaad
 */
public class PanelForm extends javax.swing.JPanel {

    /** Creates new form PanelForm */
    public PanelForm() {
        initComponents();
        //loanMag_Table.setAutoCreateRowSorter(true);
        
        
    }

    /** This method is called from within the constructor to
     * initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is
     * always regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        jSeparator1 = new javax.swing.JSeparator();
        jLabel6 = new javax.swing.JLabel();
        jTabbedPane1 = new javax.swing.JTabbedPane();
        loan_Book_Panel1 = new Library.GUI.Loan_Book_Panel();
        loan_Magazine_Panel1 = new library.GUI.Loan_Magazine_Panel();
        reservation_Panel1 = new Library.GUI.Reservation_Panel();
        reg_Member_Panel1 = new Library.GUI.Reg_Member_Panel();
        reg_Book_Panel1 = new library.GUI.Reg_Book_Panel();
        reg_Magazine_Panel1 = new library.GUI.Reg_Magazine_Panel();
        historyPanel1 = new library.GUI.HistoryPanel();

        jLabel6.setBackground(new java.awt.Color(204, 204, 255));
        jLabel6.setFont(new java.awt.Font("Verdana", 1, 36));
        jLabel6.setForeground(new java.awt.Color(51, 204, 255));
        jLabel6.setText("Library System");

        jTabbedPane1.addTab("Book Loan", loan_Book_Panel1);
        jTabbedPane1.addTab("Magazine Loan", loan_Magazine_Panel1);
        jTabbedPane1.addTab("Reservation", reservation_Panel1);
        jTabbedPane1.addTab("Member Register", reg_Member_Panel1);
        jTabbedPane1.addTab("Book Registration", reg_Book_Panel1);
        jTabbedPane1.addTab("Magazine Registration", reg_Magazine_Panel1);
        jTabbedPane1.addTab("History", historyPanel1);

        javax.swing.GroupLayout layout = new javax.swing.GroupLayout(this);
        this.setLayout(layout);
        layout.setHorizontalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                .addComponent(jLabel6, javax.swing.GroupLayout.PREFERRED_SIZE, 315, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addContainerGap())
            .addComponent(jSeparator1, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.DEFAULT_SIZE, 722, Short.MAX_VALUE)
            .addGroup(layout.createSequentialGroup()
                .addContainerGap()
                .addComponent(jTabbedPane1))
        );
        layout.setVerticalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                .addContainerGap()
                .addComponent(jLabel6)
                .addGap(18, 18, 18)
                .addComponent(jSeparator1, javax.swing.GroupLayout.PREFERRED_SIZE, 10, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addComponent(jTabbedPane1, javax.swing.GroupLayout.DEFAULT_SIZE, 532, Short.MAX_VALUE))
        );
    }// </editor-fold>//GEN-END:initComponents


    // Variables declaration - do not modify//GEN-BEGIN:variables
    private library.GUI.HistoryPanel historyPanel1;
    private javax.swing.JLabel jLabel6;
    private javax.swing.JSeparator jSeparator1;
    private javax.swing.JTabbedPane jTabbedPane1;
    private Library.GUI.Loan_Book_Panel loan_Book_Panel1;
    private library.GUI.Loan_Magazine_Panel loan_Magazine_Panel1;
    private library.GUI.Reg_Book_Panel reg_Book_Panel1;
    private library.GUI.Reg_Magazine_Panel reg_Magazine_Panel1;
    private Library.GUI.Reg_Member_Panel reg_Member_Panel1;
    private Library.GUI.Reservation_Panel reservation_Panel1;
    // End of variables declaration//GEN-END:variables

}
